package com.tony.jdbctemplate.dao;

import com.tony.jdbctemplate.entity.Student;

import java.util.List;
import java.util.Map;

/**
 * create by xuxia on 2024/2/3 22:51
 */
public interface StudentDao {

    int add(Student student);

    int update(Student student);

    int deleteBySno(String sno);

    List<Map<String,Object>> queryStudentsListMap();

    List<Student> queryAllStudents();

    Student queryStudentBySnoWithSimple(String sno);

    Student queryStudentBySnoWithBean(String sno);

    Student queryStudentBySnoWithMap(String sno);
}
